package com.ddwl.schema.vo.user;

import com.ddwl.schema.model.Location;
import com.ddwl.schema.vo.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/6/16 20:14
 */
@ApiModel("蓝牙设备Vo")
@Setter
@Getter
public class DeviceVo extends BaseVo {

    @NotNull(message = "设备ID为空")
    @ApiModelProperty("设备ID")
    private String id;
    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty("小孩ID")
    private String childrenId;
    @ApiModelProperty("小孩姓名")
    private String childName;
    @ApiModelProperty("小孩图片")
    private String childPic;
    @ApiModelProperty("别名")
    private String alias;
    @ApiModelProperty("设备UUID")
    private String uuid;
    @ApiModelProperty("Mac地址")
    private String mac;
    @ApiModelProperty("服装类型")
    private Integer clothesType;
    @ApiModelProperty("是否选中")
    private Integer selected;
    @ApiModelProperty("是否自己的设备")
    private Boolean self;
    @ApiModelProperty("经纬度")
    private Location loc;
}
